package cn.jg.framework.auth.model;

import cn.jg.framework.common.model.SimpleBaseMultiTenantModel;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import lombok.*;

/**
 * Created by admin on 2022/05/10.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@JsonInclude(value = Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class CoachPermission extends SimpleBaseMultiTenantModel {
    private static final long serialVersionUID = 1L;


    /**
     * 空间ID
     */
    private Integer knowledgeBaseId;

    /**
     * 应用类型:1课程2考试
     */
    private Integer appType;

    /**
     * 业务ID
     */
    private Integer businessId;

    /**
     * 业务类型:课程-1管理2学习|考试-1管理
     */
    private Integer businessType;
    /**
     * 权限id
     */
    private Integer permissionId;

    /**
     * 权限类型:1全部2员工组3员工
     */
    private Integer permissionType;
}
